home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.2 KB | 32 lines | [TEXT/GEOL] |
- Item 3906783 15-Sept-89 10:14
-
- From: LMILLETT Millett, Lonnie
-
- To: CH0068 CH DEV Hamilton, Bonaduz
-
- cc: MACAPP.TECH$ MACAPP Tech
-
- Sub: Re: Re: Scroller problem
-
- Thomas,
-
- While what Chris has described is perfectly true, there is a reason why you are
- seeing no effect when you fiddle with the values in the calc.r, especially the
- scroll limits. After the calc window is loaded from the resource file, the
- subview of the scroller is resized which causes a SubViewChangedSize message to
- be sent to the scroller. This method changes the scroll limits to be the new
- size of its subview, essentially clobbering the values you had specified in the
- resource file.
-
- What can you do if you really want the scroll limits to be different from the
- size of its subviews? One option is to define your own scroller and override
- the SubViewChangedSize method to leave the scroll limits alone. Another
- possibility would be to call SetScrollLimits yourself after it is finished
- modifying them with the scroll limit values you really need.
-
- Hope this helps.
-
- Lonnie Millett
- Apple Computer
-
-